
import { request } from '@/utils/request';

// 查询详情退款订单
export const getRefund = (id: string) => {
  return request.get({ url: '/pay/refund/getById.json?id=' + id })
}

// 修改退款订单
export const update = (data: any, ) => {
  return request.put({ url: '/pay/refund/update.json', data })
}

// 删除退款订单
export const del = (id: string) => {
  return request.delete({ url: '/pay/refund/del.json?id=' + id, data: [id, ],  })
}
